package com.znsd.stu.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.Cwj_ClassInfo;
import com.znsd.entitys.Cwj_SpecialtyInfo;

public interface Cwj_ClassDao {
	public List<Cwj_ClassInfo> classlist();
	
	public Cwj_ClassInfo getById(@Param("classId")Integer classId);
	
	public List<Cwj_ClassInfo> getBySpe(@Param("speId")Integer speId);
	
	public List<Cwj_ClassInfo> getByTeacherId(@Param("Id")Integer Id);
	
	public int getcount();
	
	public Cwj_ClassInfo getOrderBy();
	
	public void delClass(@Param("classId")Integer classId);
	
	public void classUpdate(@Param("clazz_id")Integer clazz_id,@Param("clazz_name")String clazz_name,@Param("teacher")Integer teacher,@Param("specialty_id")Integer specialty_id);
	
	public void addclass(@Param("clazz_name")String clazz_name,@Param("clazz_createtime")Date clazz_createtime,@Param("teacher")Integer teacher,@Param("userId")Integer userId,@Param("specialty_id")Integer specialty_id);
}
